package com.martian.common.enums;

import lombok.Getter;

@Getter
public enum UserErrorCodeEnum {
    USER_PWD_CONFIRM_ERROR(2000,"密码不一致"),

    USER_NAME_NOT_UNIQUE(2001,"用户名重复");
    /**
     * 错误码
     */
    private Integer code;

    /**
     * 错误信息
     */
    private String message;

    UserErrorCodeEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }
}
